import request from "@/utils/request";

// 充电配置 查询配置
export function getConfigAPI(query) {
  return request({
    url: `/system/config/configKey/${query.configKey}`,
    method: "get",
    params: query,
  });
}

// 充电配置 修改配置
export function setConfigAPI(data) {
  return request({
    url: `/system/config`,
    method: "put",
    data,
  });
}
